<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <a href="${pageContext.request.contextPath}/addJob.jsp">add</a>
    <table border="1px" cellspacing="0">
        <thead>
            <tr>
                <td>jobName</td>
                <td>jobGroup</td>
                <td>triggerName</td>
                <td>triggerGroup</td>
                <td>repeatInterval</td>
                <td>timesTriggered</td>
                <td>cronExpression</td>
                <td>timeZoneId</td>
                <td>oper</td>
            </tr>
        </thead>
        <tbody>
            <c:forEach items="${requestScope.jobs}" var="job">
                <tr>
                    <td>${job.jobName}</td>
                    <td>${job.jobGroup}</td>
                    <td>${job.triggerName}</td>
                    <td>${job.triggerGroup}</td>
                    <td>${job.repeatInterval}</td>
                    <td>${job.timesTriggered}</td>
                    <td>${job.cronExpression}</td>
                    <td>${job.timeZoneId}</td>
                    <td>
                        <a href="/quartz/pause?jobName=${job.jobName}&jobGroup=${job.jobGroup}">pause</a>
                        <a href="/quartz/resume?jobName=${job.jobName}&jobGroup=${job.jobGroup}">resume</a>
                        <a href="/quartz/delete?jobName=${job.jobName}&jobGroup=${job.jobGroup}">delete</a>
                        <a href="/quartz/query/one?jobName=${job.jobName}&jobGroup=${job.jobGroup}">update</a>
                    </td>
                </tr>
            </c:forEach>
        </tbody>
    </table>
</body>
</html>
